import { createApp } from 'vue';
import App from './App.vue';
import './assets/css/framework/framework.scss';//主框架样式
//import Antd from 'ant-design-vue';
//import 'ant-design-vue/dist/antd.css';
//import * as Icons from "@ant-design/icons-vue";

import router from "./router";
const app=createApp(App);
import Map from "./assets/js/common/map.js";
import Tool from "./assets/js/common/tool.js";
import i18n from './assets/js/common/langs';
import permission from './assets/js/common/permission'; //权限控制

app.config.productionTip = false;
app.config.globalProperties.$Map=Map;
app.config.globalProperties.$Tool=Tool;
app.use(router).use(i18n).use(permission).mount('#app');


//全局引入图标
// for (const i in Icons) {
//     app.component(i,Icons[i]);
//   }